import com.java.demo.*;
import com.sun.management.jmx.Introspector;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.BeanNameGenerator;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
    public static void main(String[] args) {
        ApplicationContext context =
                new ClassPathXmlApplicationContext("spring-config.xml");
        User user = context.getBean("user", User.class);
        user.sayHi();
        TEacher teacher = context.getBean("TEacher", TEacher.class);
        teacher.sayHi();
        ABCdefH abcdefh = context.getBean("ABCdefH", ABCdefH.class);
        abcdefh.sayHi();
        Hello hello = context.getBean("hello", Hello.class);
        hello.sayHi();
        Student student = context.getBean("student", Student.class);
        student.sayHi();
        Introspector introspector = new Introspector()
    }
}
